package com.lhd_gm.scheduledtasksystem.service.impl;

import com.lhd_gm.scheduledtasksystem.dao.JobMethodDao;
import com.lhd_gm.scheduledtasksystem.pojo.JobMethod;
import com.lhd_gm.scheduledtasksystem.service.JobMethodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class JobMethodServiceImpl implements JobMethodService {
    @Autowired
    private JobMethodDao jobMethodDao;

    @Override
    public void JobMethodSave(JobMethod jobMethod) {
        jobMethodDao.save(jobMethod);
    }
}
